[?php if ($sf_user->hasFlash('notice')): ?]
<div id="sf_admin_flashes" class="row-fluid">
    <div class="span12">
        <div class="alert alert-success">
            <button type="button" class="close" data-dismiss="alert">×</button>
            [?php echo __($sf_user->getFlash('notice'), array(), 'sf_admin') ?]
        </div>
    </div>
</div>
[?php endif; ?]

[?php if ($sf_user->hasFlash('error')): ?]
<div id="sf_admin_flashes" class="row-fluid">
    <div class="span12">
        <div class="alert alert-error">
            <button type="button" class="close" data-dismiss="alert">×</button>
            [?php echo __($sf_user->getFlash('error'), array(), 'sf_admin') ?]
        </div>
    </div>
</div>
[?php endif; ?]
